package com.hsc.yalebao.weight.viewpager;

import android.content.Context;
import android.support.v4.view.ViewPager;
import android.util.AttributeSet;
import android.view.MotionEvent;

public class SetingScrollBanner extends ViewPager
{
  private boolean scrollable = true;

  public SetingScrollBanner(Context paramContext)
  {
    super(paramContext);
  }

  public SetingScrollBanner(Context paramContext, AttributeSet paramAttributeSet)
  {
    super(paramContext, paramAttributeSet);
  }

  public boolean onInterceptTouchEvent(MotionEvent paramMotionEvent)
  {
    if (this.scrollable)
      return super.onInterceptTouchEvent(paramMotionEvent);
    return false;
  }

  public void setScrollable(boolean paramBoolean)
  {
    this.scrollable = paramBoolean;
  }
}

/* Location:           C:\Users\user\Desktop\dd28_pcdd720\classes_dex2jar.jar
 * Qualified Name:     com.hsc.yalebao.weight.viewpager.SetingScrollBanner
 * JD-Core Version:    0.6.2
 */